package com.woniu.order.feign;

import com.woniu.common.utils.PageData;
import com.woniu.common.utils.ResponseData;
import com.woniu.order.dto.ZfPowerUserDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "order-server")
public interface ZsbUumsFeign {
    @PostMapping("/uums/queryAllSale")
    public ResponseData<?> queryAllSale(@RequestBody PageData<ZfPowerUserDto> pageData);

    @PostMapping("/zsbOrder/queryAllCustomer")
    public ResponseData<?> queryAllCustomer();


}
